<!--{template common/header_simple}-->
<link href="static/css/dlzc1.css?{VERHASH}" rel="stylesheet" />
<!--[if lt IE 9]>
  <script src="static/js/jquery.placeholder.js" type="text/javascript"></script>
<![endif]-->
<script type="text/javascript" src="user/scripts/login.js?{VERHASH}"></script>
<!--{eval $loginhash = 'L'.random(4);}-->
<style type="text/css">
body,
html {
    margin: 0;
    padding: 0;
    color: <!--{if $_G['setting']['loginset']['bcolor']}-->$_G['setting']['loginset']['bcolor']<!--{else}-->#585858<!--{/if}-->;
    <!--{if $_G['setting']['loginset']['img']}-->background: url($_G['setting']['loginset']['img']) no-repeat;background-size:100% 100%;background-attachment:fixed;<!--{/if}-->
}
	h1 {
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    color:<!--{if $_G['setting']['loginset']['bcolor']}-->$_G['setting']['loginset']['bcolor']<!--{else}-->#000<!--{/if}-->;
}
</style>
<div class="signinform">
    <h1><!--{if $_G[setting][loginset][title]}-->$_G[setting][loginset][title]<!--{/if}--></h1>
    <div class="container">
        <div class="w3_info">
            <form action="user.php?mod=login&op=logging&action=login&loginsubmit=yes{if !empty($_GET['handlekey'])}&handlekey=$_GET[handlekey]{/if}{if isset($_GET['frommessage'])}&frommessage{/if}&loginhash=$loginhash" method="POST" name="login" id="loginform_$loginhash" role="form" onsubmit="{if $_G['setting']['pwdsafety']}pwmd5('password3_$loginhash');{/if}pwdclear = 1; loginsub('loginform_$loginhash', 'returnmessage_$loginhash');return false;">
              <input type="hidden" name="formhash" value="{FORMHASH}" />
              <input type="hidden" name="referer" value="{$referer}" />
              <!--{if $auth}-->
              <div class="input-group">
                  <input type="hidden" name="auth" value="$auth"/>
              </div>
              <!--{else}-->
              <div class="input-group">
                <input type="text" id="email_$loginhash" name="email" autocomplete="off" placeholder="{lang email_username}"/>
              </div>
              <div class="input-group">
                <input type="text" id="password3_$loginhash" name="password" onfocus="this.type='password'" autocomplete="off" placeholder="{lang user_login_password}"/>
              </div>
              <!--{/if}-->
              <!--{if $seccodecheck}-->
              <div class="form-group seccode-wrapper clearfix"> 
                <!--{template common/seccheck}--> 
              </div>
              <!--{/if}-->
                <div class="form-row bottom">
                    <div class="form-check">
                      <input id="cookietime_$loginhash" name="cookietime" type="checkbox" value="2592000" $cookietimecheck/>
                      <label for="cookietime_$loginhash">记住我？</label>
                    </div>
                    <a href="user.php?mod=login&op=logging&action=lostpasswd" class="forgot">忘记密码？</a>
                </div>
                <button type="submit" class="btn btn-primary btn-block" name="loginsubmit" value="true">登 录</button>
                <div class="third-wrapper clearfix">
                    <!--{hook third_login}--> 
                </div>
                <p class="error-msg text-center" id="returnmessage_$loginhash"><!--{if $_G[setting][bbclosed]}-->{lang site_closed_please_admin}<!--{/if}--></p>
            </form>
            <p class="continue"><span>其他登录</span></p>
            <div class="social-login">
							<!--{if !$_G['setting']['bbclosed']}-->
              <!--{if $_G['setting']['qq_login']>0}-->
              <a href="user.php?mod=qqlogin">
                  <div class="qqlogin">
                      <span class="fab fa-qqlogin" aria-hidden="true"></span> QQ登录
                  </div>
              </a>
              <!--{/if}-->
							<!--{/if}-->
              <a href="admin.php">
                  <div class="admin">
                      <span class="fab fa-admin-plus-g" aria-hidden="true"></span> 管理员登录
                  </div>
              </a>
            </div>
            <!--{if !$_G['setting']['bbclosed']}-->
            <!--{if $_G['setting']['regstatus']>0}--> 
             <p class="account">还没有账号？<a href="user.php?mod=register&referer={eval echo urlencode($referer);}">$_G['setting']['reglinkname']</a></p>
            <!--{/if}--> 
            <!--{/if}-->
        </div>
    </div>
    <div class="footer">
        <p><!--{template common/copyright}--></p>
    </div>
</div>
<div class="nfl" id="main_succeed" style="display: none;text-align: center;">
  <div class="modal-body">
    <div class="alert_right" style="display: inline-block;">
      <div id="succeedmessage"></div>
      <div id="succeedlocation" class="alert_btnleft" style="color: #FFF;"></div>
      <p class="alert_btnleft"><a id="succeedmessage_href" href="javascript:;">{lang message_forward}</a></p>
    </div>
  </div>
</div>
<!--{if $_G['setting']['pwdsafety']}--> 
<script type="text/javascript" src="user/scripts/md5.js?{VERHASH}" reload="1"></script> 
<!--{/if}--> 
<script type="text/javascript">
var pwdclear = 1;
function initinput_login() {
	document.body.focus();
	<!--{if !$auth}-->
		if(document.getElementById('loginform_$loginhash')) {
			document.getElementById('loginform_$loginhash').email.focus();
		}
	<!--{/if}-->
}

function clearpwd() {
	if(pwdclear) {
		document.getElementById('password3_$loginhash').value = '';
	}
	pwdclear = 0;
}
jQuery(document).ready(function(e) {

	initinput_login();
	
	if(jQuery('.ie8,.ie9').length){ //ie8模拟placeholder;
		jQuery(':input[placeholder]').each(function(){
			jQuery(this).placeholder();
		});
	}
});

</script> 
<script type="text/javascript" src="user/scripts/setbacksize.js?{VERHASH}"></script>
<!--{template common/footer}-->